/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itsc.ds2.Dao;

import java.util.List;
import javax.ejb.Local;
import mx.itsc.ds2.model.Scholarship;

/**
 *
 * @author Juan Carlos
 */
@Local
public interface ScholarshipDaoLocal {

    void create(Scholarship scholarship);

    void edit(Scholarship scholarship);

    void remove(Scholarship scholarship);

    Scholarship find(Object id);

    List<Scholarship> findAll();

    List<Scholarship> findRange(int[] range);

    int count();

    Boolean findDuplicity(Scholarship scholarship);

    List<Scholarship> findByScholarship(Scholarship scholarship);
    
}
